<?php

namespace App\Http\Controllers\Api;

use App\Http\Controllers\Controller;
use App\Http\Resources\CompanyArticleTypeResource;
use Illuminate\Http\Request;
use App\Http\Queries\CompanyArticleTypeQuery;
class CompanyArticleController extends Controller
{
    //
    public function  show(int $company_article_id,CompanyArticleTypeQuery $query){
        $article = $query->findOrFail($company_article_id);
        return new CompanyArticleTypeResource($article);
    }
}
